//
//  ReactiveSwiftViewController.swift
//  FallowProject
//
//  Created by 李晋 on 2017/7/25.
//  Copyright © 2017年 李晋. All rights reserved.
//  ReactiveSwift test

import UIKit
import SnapKit
class ReactiveSwiftViewController: UIViewController {

    lazy var textField: UITextField = {
        let textF = UITextField()
        textF.backgroundColor = #colorLiteral(red: 0.4513868093, green: 0.9930960536, blue: 1, alpha: 1)
        return textF
    }();
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.addSubview(textField)
        textField.snp.makeConstraints { (make) in
            make.top.equalToSuperview().offset(64.0)
            make.left.right.equalToSuperview()
            make.height.equalTo(64)
        }
        let _ = ["first", "second"]
    }
    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        view.endEditing(true)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
}
